package com.stylefeng.guns.modular.stream.service.impl;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.stylefeng.guns.modular.system.model.Stream;
import com.stylefeng.guns.modular.system.dao.StreamMapper;
import com.stylefeng.guns.modular.stream.service.IStreamService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author guns
 * @since 2018-07-28
 */
@Service
public class StreamServiceImpl extends ServiceImpl<StreamMapper, Stream> implements IStreamService {

    /**
     * 根据条件查询直播流列表
     */
    @Override
    public List<Map<String, Object>> selectStreams(Wrapper<Stream> wrapper) {
        return this.baseMapper.selectStreams(wrapper);

    }
}
